/**@Title   Car.java
 * @Package com.gong.spring.beans
 * @Desc    
 * @Author  GongWenhua
 * @Date    2017年5月9日 下午2:47:01
 * @Version 1.0
*/
package com.gong.spring.beans;

/**
 * @Project   006_Spring1
 * @ClassName Car
 * @Desc	  属性注入的方式介绍      
 * @Author    Gong WenHua
 * @Date      2017年5月9日 下午2:47:18
 */
public class Car {
	private String brand;
	private String city;
	private int price;
	private float tyrePrimeter;
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public float getTyrePrimeter() {
		return tyrePrimeter;
	}
	public void setTyrePrimeter(float tyrePrimeter) {
		this.tyrePrimeter = tyrePrimeter;
	}
	@Override
	public String toString() {
		return "Car [brand=" + brand + ", city=" + city + ", price=" + price + ", tyrePrimeter=" + tyrePrimeter + "]";
	}
	
	
}
